package com.alks.function.data.dto.biocontrol.deptwork;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ScheduleHeadDto {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "安排日期")
    private String scheduleNo;

    @ApiModelProperty(value = "生产线")
    private String line;

    @ApiModelProperty(value = "序号")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "订单量")
    private BigDecimal orderQty;

    @ApiModelProperty(value = "安排数量")
    private BigDecimal scheduleQty;

    @ApiModelProperty(value = "IE日产能")
    private BigDecimal stdQty;

    @ApiModelProperty(value = "生产天数")
    private BigDecimal prodDays;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private LocalDateTime beginDate;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "结束日期")
    private LocalDateTime endDate;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "欠数")
    private float shortSum;

}
